home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2006 July & August
/
PCWorld_2006-07-08_cd.bin
/
v cisle
/
acehtml
/
acehtmlfreeware.exe
/
scriptdef
/
Browser Check.sd
< prev
next >
Wrap
INI File
|
2004-06-28
|
820b
|
43 lines
[SUBJECT]
Description=Checks the browser version
ImageIndex=-1
Folder=Tools
[HEAD_TEXT]
;<script language="JavaScript">
;<!-- Begin
;function onlyNewbrowsers() {
;browser = (((navigator.appName == "Netscape") &&
;(parseInt(navigator.appVersion) >= `Netscape_Version` )) ||
;((navigator.appName == "Microsoft Internet Explorer") &&
;(parseInt(navigator.appVersion) >= `IE_Version` )));
;if (browser) {
;alert('You are obviously using new Netscape or MSIE. Older browsers are not allowed to read this.....');}
;else {}
;}
;// End -->
;</script>
;
[BODY_TEXT]
;<div align="center">
;<form action="" onSubmit="onlyNewbrowsers()">
;<input type="submit" Value="New Browsers Only Script">
;</form>
;</div>
[`Netscape_Version`]
Kind=S
Value=3
[`IE_version`]
Kind=S
Value=4